package test;

public class Net extends Teacher {
	public Net(String name, int age, String gender, int yearsOfExp) {
		super(name, age, gender, yearsOfExp);
	}
	public void teach() { 
		System.out.println("open visual studio");
	}
	
	public void speak() {
		super.speak();
	}
}
